/**
 * 筛选配置
 * 角色管理 role-manage
 */
export default {
  'role-manage': [
    {
      type: 'select-input',
      name: '角色名称',
      prop: 'roleName',
      selectStyle: { width: '180px' },
      selectConfig: {
        clearable: true,
        placeholder: '请输入角色名称',
        iconConfig: {
          type: 'suffix',
          icon: 'el-icon-search',
          isClick: true,
          style: { cursor: 'pointer' }
        }
      }
    },
    {
      type: 'select-input',
      name: '角色编码',
      prop: 'roleCode',
      selectStyle: { width: '180px' },
      selectConfig: {
        clearable: true,
        placeholder: '请输入角色编码',
        iconConfig: {
          type: 'suffix',
          icon: 'el-icon-search',
          isClick: true,
          style: { cursor: 'pointer' }
        }
      }
    },
    {
      type: 'select-option',
      name: '状态',
      prop: 'status',
      optionList: [],
      selectPath: 'dictList',
      selectParams: {
        codeList: ['grass-core.role.status']
      },
      dataProp: {
        keyProp: 'grass-core.role.status',
        nameProp: 'label',
        codeProp: 'value'
      },
      selectStyle: { width: '180px' },
      selectConfig: {
        clearable: true,
        placeholder: '请选择状态'
      }
    }
  ]
}
